<?php
################################## SISTEMA ###################################
if($_SERVER['SERVER_NAME'] == "www.qued.com.br"){
	define("URL_SITE", "http://www.qued.com.br/"); // LOCALHOST
	define("BASE_DIR", "new_galera/"); // LOCALHOST

	//MYSQL
	define("HOST_DB_MYSQL","187.45.217.136");
	define("USER_DB_MYSQL","galera");
	define("PASS_DB_MYSQL","G4l3r4_MYSQL"); //http://mysql-l50cnn0682.locaweb.com.br/
	define("NAME_DB_MYSQL","galera");
}else{
	define("URL_SITE", "http://localhost/"); // LOCALHOST
	define("BASE_DIR", "kscrum/"); // LOCALHOST

	//MYSQL
	define("HOST_DB_MYSQL","localhost");
	define("USER_DB_MYSQL","root");
	define("PASS_DB_MYSQL","root");
	define("NAME_DB_MYSQL","kscrum");
}

define("ROOT_DIR"	, str_replace("//","/",$_SERVER["DOCUMENT_ROOT"]));
define("DIRETORIO"	, ROOT_DIR."/".BASE_DIR);
define("SITE"		, URL_SITE . BASE_DIR);
define("MODELS_DIR"	, DIRETORIO."app/Models/");
define("LIBRARIES_DIR"	, DIRETORIO."app/Libraries/");
define("CONTROLLERS_DIR", DIRETORIO."app/Controllers/");
define("CONFIG_DIR"	, DIRETORIO."config/");
define("CONFIG"		, SITE."config/");
define("FILES_TEMP"	, DIRETORIO."files/temp/");
define("GALLERIES"	, DIRETORIO."files/galleries/");
define("INCLUDES"	, DIRETORIO."content/includes/");
define("TEMPLATES"	, DIRETORIO."files/templates/");


define("SYSTEM_TITLE", "Galera de Atitude");
define("SYSTEM_NAME", "GALERA");

define("PAGE", str_replace("/","",strrchr($_SERVER['PHP_SELF'], "/")));
$pgSection = explode("/",$_SERVER['PHP_SELF']);
$pgSection = $pgSection[count($pgSection)-2];
define("SECTION", $pgSection);

################################ SITE ##########################################
define("PAGINATION", 10);
define("PAGINATION_RESULT", 10);

################################ ADMIN ##########################################
define("USER_IMG_W", 170);
define("USER_IMG_H", 200);

################################ E-MAIL ########################################
define("FROM_NAME", "Kscrum");
define("FROM_EMAIL", "llbellini@gmail.com");
define("SUBJECT", "Contato Kscrum");
?>
